#!/bin/bash
sed -i 's/#define log/#define ODTONE_LOG/g' ./src/mihf/log.hpp
sed -i 's/log.level(/ODTONE_LOG.level(/g' ./src/mihf/main.cpp
for f in ./src/mihf/*.cpp; do
sed -i 's/log(/ODTONE_LOG(/g' $f
done
